3.9.13 \(\int \frac {(d+e x)^2}{c d^2+2 c d e x+c e^2 x^2} \, dx\)

Optimal. Leaf size=5 \[ \frac {x}{c} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 5, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {27, 8} \begin {gather*} \frac {x}{c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x)^2/(c*d^2 + 2*c*d*e*x + c*e^2*x^2),x]

[Out]

x/c

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {(d+e x)^2}{c d^2+2 c d e x+c e^2 x^2} \, dx &=\int \frac {1}{c} \, dx\\ &=\frac {x}{c}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 5, normalized size = 1.00 \begin {gather*} \frac {x}{c} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)^2/(c*d^2 + 2*c*d*e*x + c*e^2*x^2),x]

[Out]

x/c

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(d+e x)^2}{c d^2+2 c d e x+c e^2 x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(d + e*x)^2/(c*d^2 + 2*c*d*e*x + c*e^2*x^2),x]

[Out]

IntegrateAlgebraic[(d + e*x)^2/(c*d^2 + 2*c*d*e*x + c*e^2*x^2), x]

________________________________________________________________________________________

fricas [A]  time = 0.37, size = 5, normalized size = 1.00 \begin {gather*} \frac {x}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^2/(c*e^2*x^2+2*c*d*e*x+c*d^2),x, algorithm="fricas")

[Out]

x/c

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^2/(c*e^2*x^2+2*c*d*e*x+c*d^2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: (exp(2)*d*exp(1)-d*exp(1)^3)/c/exp(2)^2*
ln(x^2*exp(2)+2*x*d*exp(1)+d^2)+(2*exp(2)^2*d^2-6*exp(2)*d^2*exp(1)^2+4*d^2*exp(1)^4)/c/exp(2)^2*1/2/d/sqrt(-e
xp(1)^2+exp(2))*atan((d*exp(1)+x*exp(2))/d/sqrt(-exp(1)^2+exp(2)))+x*exp(1)^2/c/exp(2)

________________________________________________________________________________________

maple [A]  time = 0.06, size = 6, normalized size = 1.20 \begin {gather*} \frac {x}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)^2/(c*e^2*x^2+2*c*d*e*x+c*d^2),x)

[Out]

1/c*x

________________________________________________________________________________________

maxima [A]  time = 1.34, size = 5, normalized size = 1.00 \begin {gather*} \frac {x}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^2/(c*e^2*x^2+2*c*d*e*x+c*d^2),x, algorithm="maxima")

[Out]

x/c

________________________________________________________________________________________

mupad [B]  time = 0.01, size = 5, normalized size = 1.00 \begin {gather*} \frac {x}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d + e*x)^2/(c*d^2 + c*e^2*x^2 + 2*c*d*e*x),x)

[Out]

x/c

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 2, normalized size = 0.40 \begin {gather*} \frac {x}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)**2/(c*e**2*x**2+2*c*d*e*x+c*d**2),x)

[Out]

x/c

________________________________________________________________________________________